package com.lovo.test.ATM;

import java.io.Serializable;

public class User implements Serializable {
    private String userName;//用户名
    private String passWord;//密码
    private int money;//余额


    //以下是构造器
    public User(){

    }

    public User(String userName, String passWord, int money) {
        this.userName = userName;
        this.passWord = passWord;
        this.money = money;
    }


    //以下是get 和set
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }
}
